const state = {
    userinfo: {
        name: 'admin',
    }
}

const mutations = {
    SET_USERINFO(state, userinfo) {
        state.userinfo = userinfo
    }
}

const actions = {

}

export default {
    namespaced: true,
    state,
    mutations,
    actions,
}